package edu.hwadee.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Railagepay entity. @author MyEclipse Persistence Tools
 */

public class Railagepay implements java.io.Serializable {

	// Fields

	private Integer railagePayId;
	private Railagetask railagetask;
	private Staff staff;
	private Company company;
	private Date deliverDate;
	private String wagonNo;
	private Short wagonNum;
	private Float freight;
	private Float totalCost;
	private String paymentWay;
	private Boolean isSettlement;
	private String note;
	private Date settlementDate;
	private Set payfees = new HashSet(0);

	// Constructors

	/** default constructor */
	public Railagepay() {
	}

	/** full constructor */
	public Railagepay(Railagetask railagetask, Staff staff, Company company, Date deliverDate, String wagonNo,
			Short wagonNum, Float freight, Float totalCost, String paymentWay, Boolean isSettlement, String note,
			Date settlementDate, Set payfees) {
		this.railagetask = railagetask;
		this.staff = staff;
		this.company = company;
		this.deliverDate = deliverDate;
		this.wagonNo = wagonNo;
		this.wagonNum = wagonNum;
		this.freight = freight;
		this.totalCost = totalCost;
		this.paymentWay = paymentWay;
		this.isSettlement = isSettlement;
		this.note = note;
		this.settlementDate = settlementDate;
		this.payfees = payfees;
	}

	// Property accessors

	public Integer getRailagePayId() {
		return this.railagePayId;
	}

	public void setRailagePayId(Integer railagePayId) {
		this.railagePayId = railagePayId;
	}

	public Railagetask getRailagetask() {
		return this.railagetask;
	}

	public void setRailagetask(Railagetask railagetask) {
		this.railagetask = railagetask;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Date getDeliverDate() {
		return this.deliverDate;
	}

	public void setDeliverDate(Date deliverDate) {
		this.deliverDate = deliverDate;
	}

	public String getWagonNo() {
		return this.wagonNo;
	}

	public void setWagonNo(String wagonNo) {
		this.wagonNo = wagonNo;
	}

	public Short getWagonNum() {
		return this.wagonNum;
	}

	public void setWagonNum(Short wagonNum) {
		this.wagonNum = wagonNum;
	}

	public Float getFreight() {
		return this.freight;
	}

	public void setFreight(Float freight) {
		this.freight = freight;
	}

	public Float getTotalCost() {
		return this.totalCost;
	}

	public void setTotalCost(Float totalCost) {
		this.totalCost = totalCost;
	}

	public String getPaymentWay() {
		return this.paymentWay;
	}

	public void setPaymentWay(String paymentWay) {
		this.paymentWay = paymentWay;
	}

	public Boolean getIsSettlement() {
		return this.isSettlement;
	}

	public void setIsSettlement(Boolean isSettlement) {
		this.isSettlement = isSettlement;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Date getSettlementDate() {
		return this.settlementDate;
	}

	public void setSettlementDate(Date settlementDate) {
		this.settlementDate = settlementDate;
	}

	public Set getPayfees() {
		return this.payfees;
	}

	public void setPayfees(Set payfees) {
		this.payfees = payfees;
	}

}